package cn.cloudtogo.common.atomapi;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @author yaolianhua789@gmail.com
 **/
@Data
public class ApiDisplay {

    public static final String CONDITION = "condition";
    public static final String FIELDS = "fields";
    public static final String PAGE = "page";
    public static final String SIZE = "size";
    public static final String WHERE = "where";
    public static final String PRIMARY_KEY = "primary_key";
    public static final String ID_COMMA = "id_comma";
    public static final String TABLE = "table";
    public static final String ID = "id";
    public static final String UUID = "uuid";

    private String table;
    private String prefix;
    @JsonProperty("apis")
    private List<ApiMethodModel> methods;

}
